package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.ClearingformDao;
import com.bootdo.sell.domain.ClearingformDO;
import com.bootdo.sell.service.ClearingformService;



@Service
public class ClearingformServiceImpl implements ClearingformService {
	@Autowired
	private ClearingformDao clearingformDao;
	
	@Override
	public ClearingformDO get(Long id){
		return clearingformDao.get(id);
	}
	
	@Override
	public List<ClearingformDO> list(Map<String, Object> map){
		return clearingformDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return clearingformDao.count(map);
	}
	
	@Override
	public int save(ClearingformDO clearingform){
		return clearingformDao.save(clearingform);
	}
	
	@Override
	public int update(ClearingformDO clearingform){
		return clearingformDao.update(clearingform);
	}
	
	@Override
	public int remove(Long id){
		return clearingformDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return clearingformDao.batchRemove(ids);
	}
	
}
